package com.bestdreamer.threadbasic;

public class HasSelfPrivateNumThreadB extends Thread {
    private final HasSelfPrivateNum numRef;
    public HasSelfPrivateNumThreadB(HasSelfPrivateNum numRef){
        super();
        this.numRef = numRef;
    }

    @Override
    public void run() {
        super.run();
        numRef.addI("b");
    }
}
